Skip to main content

Upload Folder

AutomatR.Dropbox.Activities.UploadFolder

The "Upload Folder" activity in AutomatR is part of the Dropbox activities package, allowing automation processes to upload an entire folder from a local drive to a user's Dropbox account. This activity streamlines the process of uploading folders, enhancing the efficiency of automation workflows.

Properties

NameDescription
Input
Destination PathSpecifies the path of the destination folder in Dropbox where the folder will be uploaded. String variables containing the destination path.
Source PathSpecifies the full path of the folder on the local drive that you want to upload to Dropbox. String variables containing the local folder path. Example: "D:\uploadFolder"
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Upload Folder" activity. Integer variables containing the delay duration. Example: 5 seconds i.e. 5.

How to Use

  1. Drag and drop the "Upload Folder" activity onto the workflow.
  2. Configure the properties by specifying the local folder path, destination folder path in Dropbox, and optionally set the delay and customize the display name.
  3. Execute the workflow to upload the entire folder to the specified destination in Dropbox.

Important Notes:

  • Ensure that the activity is placed within a "Dropbox Scope" activity to establish the necessary authentication scope.
  • The "Source Path" should include the full path of the folder on the local drive.
  • The "Destination Path" should specify the path of the destination folder in Dropbox where the folder will be uploaded.
  • If the destination folder path does not exist in Dropbox, the activity will create the folder.

Example:

Consider an example where the "Upload Folder" activity is used to upload a folder named "uploadFolder" from the local drive to a folder named "Uploads" in Dropbox:

Upload Folder:
Display Name: "Upload to Dropbox"
Source Path: "D:\uploadFolder"
Destination Path: "/Uploads"

In this example, the activity uploads the entire "uploadFolder" from the local drive to the "/Uploads" folder in Dropbox, including all files and subfolders.